package org.cyz.tools.core.manager;


import java.util.HashMap;
import java.util.Map;

public class ControllerManager {

    private Map<String,Object> root=new HashMap<>();

    public void addController(String name,Object controller){
        this.root.put(name,controller);
    }

    public Object getController(String name){
        return this.root.get(name);
    }

}
